const adminsService = require('../../../services/admins/adminsService');


// let result = adminsService.reg('234','234');
// result.then((data) => {
//     console.log("新增数据：", data)
// })

// let res = adminsService.login('234','234')
// console.log(res);
// res.then((data) => {
//     console.log("查询", data)
// })

// let res = adminsService.updateAdminsInfo({_id:'619b5a57128c045ee2c9cfbf',adminName:'111',adminPassword:'111'})
// console.log(res);
// res.then((data) => {
//     console.log("修改", data)
// })

let res = adminsService.deleteAdminsInfo('619b137fa5b38337c26752b7')
console.log(res);
res.then((data) => {
    console.log("删除", data)
})